How can I successfully compile TypeScript with tsc issues